package com.eshop.modules.user.service.dto;

import com.eshop.modules.user.vo.SystemUserLevelQueryVo;
import java.io.Serializable;
import java.util.List;

public class UserLevelDto implements Serializable {
    private List<SystemUserLevelQueryVo> list;
    private TaskDto task;

    /* access modifiers changed from: protected */
    public boolean canEqual(Object other) {
        return other instanceof UserLevelDto;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UserLevelDto)) {
            return false;
        }
        UserLevelDto other = (UserLevelDto) o;
        if (!other.canEqual(this)) {
            return false;
        }
        List this$list = getList();
        List other$list = other.getList();
        if (this$list != null ? !this$list.equals(other$list) : other$list != null) {
            return false;
        }
        TaskDto this$task = getTask();
        TaskDto other$task = other.getTask();
        if (this$task == null) {
            if (other$task == null) {
                return true;
            }
        } else if (this$task.equals(other$task)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int i = 43;
        List $list = getList();
        int hashCode = $list == null ? 43 : $list.hashCode();
        TaskDto $task = getTask();
        int i2 = (hashCode + 59) * 59;
        if ($task != null) {
            i = $task.hashCode();
        }
        return i2 + i;
    }

    public void setList(List<SystemUserLevelQueryVo> list2) {
        this.list = list2;
    }

    public void setTask(TaskDto task2) {
        this.task = task2;
    }

    public String toString() {
        return "UserLevelDto(list=" + getList() + ", task=" + getTask() + ")";
    }

    public List<SystemUserLevelQueryVo> getList() {
        return this.list;
    }

    public TaskDto getTask() {
        return this.task;
    }
}
